package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.TVideoLike;

/**
 * 视频点赞Mapper接口
 * 
 * @author ruoyi
 * @date 2025-09-24
 */
public interface TVideoLikeMapper 
{
    /**
     * 查询视频点赞
     * 
     * @param userId 视频点赞主键
     * @return 视频点赞
     */
    public TVideoLike selectTVideoLikeByUserId(Long userId);

    /**
     * 查询视频点赞列表
     * 
     * @param tVideoLike 视频点赞
     * @return 视频点赞集合
     */
    public List<TVideoLike> selectTVideoLikeList(TVideoLike tVideoLike);

    /**
     * 新增视频点赞
     * 
     * @param tVideoLike 视频点赞
     * @return 结果
     */
    public int insertTVideoLike(TVideoLike tVideoLike);

    /**
     * 修改视频点赞
     * 
     * @param tVideoLike 视频点赞
     * @return 结果
     */
    public int updateTVideoLike(TVideoLike tVideoLike);

    /**
     * 删除视频点赞
     * 
     * @param userId 视频点赞主键
     * @return 结果
     */
    public int deleteTVideoLikeByUserId(Long userId);

    /**
     * 批量删除视频点赞
     * 
     * @param userIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTVideoLikeByUserIds(Long[] userIds);
}
